/*
 * @Author: your name
 * @Date: 2021-01-06 14:11:16
 * @LastEditTime: 2021-01-06 15:34:41
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \express-seed\routes\admin\index.js
 */
// 引入路由
// const express = require('express')
const indexRouter = require('./home');
const usersRouter = require('./users');
const imgRouter = require('./img')
// var app = express();
// 使用路由
module.exports = (app)=> {
    app.use('/admin', indexRouter);
    app.use('/admin/users', usersRouter);
    app.use('/admin/img', imgRouter)
}
